/**
 * Created by CZ on 2017/4/6.
 */
module.exports = function ($scope,$localStorage,modelService,commonConfig,$rootScope) {
    //全局定义所有图片初始路径(避免未经首页而是刷新导致不识别imgApi)
    $rootScope.imgApi = commonConfig.$webroot+commonConfig.imgApi+'?access_token='+$localStorage.get('cloud').token+'&uuid=';
    $scope.User = $localStorage.get('cloud');
    $scope.Exit = function (){
        modelService.openExitModel('确定要退出么？','DeveloperIndex.Home','cloud')
    }


};